//
//  TakePhotoTool.h
//  Shengzhuli
//
//  Created by 卡忙科技 on 16/9/8.
//  Copyright © 2016年 kamangkeji. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef NS_ENUM(NSInteger,SelectImageScaleType) {
    SelectImageScaleTypeOne,//1:1
    SelectImageScaleTypeTwo,//约么里面尺寸302/152
    SelectImageScaleTypeThree,//俱乐部309/141
    SelectImageScaleTypeFour,//俱乐部148/98
    SelectImageScaleTypeOriginal,//俱乐部ScreenW/ScreenH
};

typedef void(^selectImageBlock)(UIImage *image,NSString *path);

@interface TakePhotoTool : NSObject

+ (instancetype)shareTool;
- (void)beginSelectWithScale:(CGFloat)scale image:(selectImageBlock)block;
- (void)upLoadFile:(UIImage *)image;

@end
